import json


def read_json():
    with open("../data/c_mana.json", "r", encoding="utf-8") as f:
        data = json.load(f)
    arr1 = []
    arr2 = []
    for a in data:
        arr1.append((a['add'][:10], a['add'][10]))
        arr2.append((a['update'][:3], a['update'][3]))
    # print(arr1, arr2, arr3)
    return arr1, arr2


datas = read_json()
print(datas)
